/**
 *  golive
 *
 *  Create by songli on 2021/05/24
 *  Copyright © 2021 居理买房网. All rights reserved.
 */

package model

type User struct {
	Id             int32  `gorm:"primary_key" redis:"id,omitempty"`
	Name           string `redis:"name,omitempty"`
	ViewNum        int32  `redis:"view_num,omitempty"`
	Status         int32  `redis:"status,omitempty"`
	CreateTime     int64  `redis:"create_time,omitempty"`
	CreateDatetime string `redis:"create_datetime,omitempty"`
	UpdateDatetime string `redis:"update_datetime,omitempty"`
}

func (User) TableName() string {
	return "tbl_user"
}
